﻿@using STX.Domain
@model STX.Admin.Models.BizMessage.IndexModel
@{
    Layout = null;
    STX.Domain.TabAdministrator CurUser = ViewBag.CurUser;
}
<div class="listpage verticalSplitContainer" style="height: 100%;">
    <form method="post" action="@Url.Action("Query")">
        <div class="querybar">
            <table class="querytable">
                <tbody>
                    <tr>
                        
                        <td>
                            <div class="queryitem">
                                <span class="querytitle">标题 ：</span>
                                <input type="text" name="Name" class="textInput" />
                            </div>
                        </td>
                    </tr>
                </tbody>
            </table>
            <div class="querybuttonbar">
                <div class="simplebutton">
                    <div class="r">
                        <button type="button" class="submit">
                            检索</button></div>
                </div>
            </div>
            <div class="clear">
            </div>
        </div>
    </form>
    <div class="panelBar" ratio="#25">
        
        <ul class="toolBar">
            @if (CurUser.Position == PositionEnum.SystemPower)
            {
                <li><a target="dialog" href="@Url.Action("add")" width="800" height="400" refreshonclose="true">
                        <span class="icon add">添加</span></a></li>
                <li><a target="dialog" href="@Url.Action("edit")"  width="800" height="400" backtype="html" refreshonclose="true" beforechk="link.onlySelectOne()" postdata="{id:link.getSelectid()}">
                        <span class="icon edit">修改</span></a></li>
                <li class=""><a target="ajax" confirm="确定要删除吗?" href="@Url.Action("delete")" backtype="refresh"  beforechk="link.selectAtLeastOne()" postdata="{ids:link.getSelectids()}">
                                 <span class="icon delete">删除</span></a></li>
            }
        </ul>
    </div>
    <div ratio="*" class="verticalSplitContainer dataRefresh">
        @Html.Action("Query")
    </div>
</div>
